package com.amigo.online.common.param.dto.login;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class RegisterDto {
	@NotBlank
	@Length(min=0,max=20)
	private String mobilephone;
	@Length(min=0,max=10)
	private String countryCode;
	private String code;
	@NotBlank
	@Length(min=0,max=30)
	private String password;
	@NotBlank
	@Length(min=0,max=30)
	private String password2;

	private String registerCode;
	
	
}
